﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PartnersByCat.ascx.cs"
    Inherits="VIT.Web.Modules.PartnersByCat.PartnersByCat" %>
    <%--<div class="fr">
        <div class="title-doitac">
            wedding dress - váy cưới</div>
        <div class="ct">
            <div class="pagedoitac">--%>
          <div class="pagedoitac" id="go<%=Cat %>">  
        <asp:ListView ID="ListView" runat="server">
            <ItemTemplate>
            <ul>
                <a onclick="HoiDap('Dap<%#Eval("ID") %>');" style="cursor:pointer">
                    <img src="<%=URLRoot %>Uploads/Images/Articles/Thumbs/<%#Eval("Image") %>" width="120" height="120"/></a>
                <h2>
                    <a onclick="HoiDap('Dap<%#Eval("ID") %>');" style="cursor:pointer"><%#Eval("Title")%></a></h2>
                <h3><%#Eval("Brief")%></h3>
                <h5 id="Dap<%#Eval("ID") %>" style="display:none"><%#Eval("Contents")%></h5>
            </ul>
            </ItemTemplate>
            </asp:ListView>
           <%-- <ul>
                <a href="#">
                    <img src="images/logo-doitac.gif" /></a>
                <h2>
                    <a href="#">Wedding dress</a></h2>
                <h3>
                    Mauris in magna ligula, eget auctor eros. Sed ipsum elit, facilisis aliquam pulvinar
                    eleifend, semper eu nibh.</h3>
            </ul>
            <ul>
                <a href="#">
                    <img src="images/logo-doitac.gif" /></a>
                <h2>
                    <a href="#">Wedding dress</a></h2>
                <h3>
                    Mauris in magna ligula, eget auctor eros. Sed ipsum elit, facilisis aliquam pulvinar
                    eleifend, semper eu nibh.</h3>
            </ul>
            <ul>
                <a href="#">
                    <img src="images/logo-doitac.gif" /></a>
                <h2>
                    <a href="#">Wedding dress</a></h2>
                <h3>
                    Mauris in magna ligula, eget auctor eros. Sed ipsum elit, facilisis aliquam pulvinar
                    eleifend, semper eu nibh.</h3>
            </ul>--%>
            <h4>
            <asp:DataPager ID="Pager" runat="server" PagedControlID="ListView" PageSize="4" onprerender="Pager_PreRender">
            <Fields>
                <asp:NextPreviousPagerField ShowFirstPageButton="True" ShowNextPageButton="false" FirstPageText="<<" PreviousPageText="<" />
                <asp:NumericPagerField />
                <asp:NextPreviousPagerField ShowLastPageButton="True" ShowPreviousPageButton="false" LastPageText=">>" NextPageText=">" />
            </Fields>
        </asp:DataPager>
        </h4>
        <script type="text/javascript">
            function HoiDap(id) {
                if ($("#" + id).css("display") == "none")
                    $("#" + id).slideDown("slow");
                else $("#" + id).slideUp("slow");
            }
            </script>
            </div>
            <%--<h4>
                << < 1 2 3 4 5 > >></h4>
        </div>
    </div>
</div>--%>

<%--<asp:Repeater ID="rpt" runat="server">
    <HeaderTemplate>
    </HeaderTemplate>
    <ItemTemplate>
        <a href="NewsDetail.aspx?id=<%#Eval("Id") %>">
            <img src="<%=URLRoot %>Uploads/Images/Articles/Thumbs/<%#Eval("Image") %>" width="128"
                height="90" class="doitac" /></a>
    </ItemTemplate>
    <FooterTemplate>
        <ul>
            Back to top</ul>
    </FooterTemplate>
</asp:Repeater>
--%>